import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useCounterStore = defineStore('counter', () => {
  const iscollapse = ref(true)
  const changeiscollapse = () => {
    iscollapse.value = !iscollapse.value
  }

  return { iscollapse, changeiscollapse }
})
